
			<div class="shopNav">
				<div class="slideall" style="height: auto;">
			        
					   <div class="long-title"><span class="all-goods">全部分类</span></div>
				   	<!-- 横向导航 start -->
						<?php $this->load->view('public/horiz-menu.html');?>
					<!-- 横向导航 end -->
                
			    	<!-- banner start -->
						<?php $this->load->view('public/banner.html');?>
					<!-- banner end -->

						<!--侧边导航 -->
						<div id="nav" class="navfull" style="position: static;">
							<div class="area clearfix">
								<div class="category-content" id="guide_2">
									
									<div class="category" style="box-shadow:none ;margin-top: 2px;">
										<ul class="category-list navTwo" id="js_climit_li">
										<?php if(!empty($cates)):?>
										<?php foreach ($cates as $k => $v):?>
											<li >
												<div class="category-info">
													<h3 class="category-name b-category-name"><i><?php if(!empty($v['cat_ico'])):?><img src="<?php echo base_url();?>public/uploads/<?php echo $v['cat_ico'];?>"><?php endif;?></i><a class="ml-22" title="<?php echo $v['cat_name'];?>"><?php echo $v['cat_name'];?></a></h3>
													<em>&gt;</em></div>
												<div class="menu-item menu-in top">
													<div class="area-in">
														<div class="area-bg">
															<div class="menu-srot">
																<div class="sort-side">
																<?php if(!empty($v['child'])):?>
																<?php foreach($v['child'] as $k1 => $v1) :?>
																	<dl class="dl-sort">
																		<dt><span title="<?php echo $v1['cat_name'];?>"><?php echo $v1['cat_name'];?></span></dt>
																		<?php if(!empty($v1['child'])):?>
																		<?php foreach($v1['child'] as $k2 => $v2):?>
																		<dd><a title="<?php echo $v2['cat_name'];?>" href="<?php echo base_url();?>goods/lists?id=<?php echo$v2['cat_id'];?>"><span><?php echo $v2['cat_name'];?></span></a></dd>
																		<?php endforeach;?>
																		<?php endif;?>
																	</dl>
																<?php endforeach;?>  
																<?php endif;?>
																</div>
															</div>
														</div>
													</div>
												</div>
                                             <b class="arrow"></b>
											</li>
											<?php endforeach;?>
											<?php endif;?>
										
										</ul>
									</div>
								</div>

							</div>
						</div>
						<!--导航 -->
						<script type="text/javascript">
							(function() {
								$('.am-slider').flexslider();
							});
							$(document).ready(function() {
								$("li").hover(function() {
									$(".category-content .category-list li.first .menu-in").css("display", "none");
									$(".category-content .category-list li.first").removeClass("hover");
									$(this).addClass("hover");
									$(this).children("div.menu-in").css("display", "block")
								}, function() {
									$(this).removeClass("hover")
									$(this).children("div.menu-in").css("display", "none")
								});
							})
						</script>


					<!--小导航 -->
					<div class="am-g am-g-fixed smallnav">
						<div class="am-u-sm-3">
							<a href="sort.html"><img src="<?php echo base_url(),FRONT_DIR?>images/navsmall.jpg" />
								<div class="title">商品分类</div>
							</a>
						</div>
						<div class="am-u-sm-3">
							<a href="#"><img src="<?php echo base_url(),FRONT_DIR?>images/huismall.jpg" />
								<div class="title">大聚惠</div>
							</a>
						</div>
						<div class="am-u-sm-3">
							<a href="#"><img src="<?php echo base_url(),FRONT_DIR?>images/mansmall.jpg" />
								<div class="title">个人中心</div>
							</a>
						</div>
						<div class="am-u-sm-3">
							<a href="#"><img src="<?php echo base_url(),FRONT_DIR?>images/moneysmall.jpg" />
								<div class="title">投资理财</div>
							</a>
						</div>
					</div>

					
			
					</div>
					<div class="clear"></div>
				
				</div>
				
				
							
				<script type="text/javascript">
					if ($(window).width() < 640) {
						function autoScroll(obj) {
							$(obj).find("ul").animate({
								marginTop: "-39px"
							}, 500, function() {
								$(this).css({
									marginTop: "0px"
								}).find("li:first").appendTo(this);
							})
						}
						$(function() {
							setInterval('autoScroll(".demo")', 3000);
						})
					}
				</script>
			</div>